package com.gdt.zhangshitong.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.gdt.zhangshitong.service.MessageService;


@RestController
@RequestMapping("/user/")
public class UserController {
	
	@Autowired
	private MessageService messageService;
	@RequestMapping(value= "/hi",method = RequestMethod.GET)
	public String sayHi(String name){
		return messageService.sayHiFromClientOne(name);
	}
	
	

}
